package com.wu.project.admin.service;

import com.wu.project.admin.component.JsonResult;
import com.wu.project.admin.entity.*;

/**
 * @author xuan
 */
public interface UserService {

    /**
     * 获取用户列表
     * @param userQueryVO 实体类参数
     * @return json
     */
    JsonResult getUserList(UserQueryVO userQueryVO);

    /**
     * 获取工人列表
     * @param workerQueryVO 实体类参数
     * @return json
     */
    JsonResult getWorkerList(WorkerQueryVO workerQueryVO);

    JsonResult addUser(UserFullDO userDTO);

    JsonResult updateUser(UserFullDO userDTO);

    JsonResult delUser(UserFullDO userDTO);

    JsonResult addWorker(UserWorkerDO workerDTO);

    JsonResult updateWorker(UserWorkerDO workerDTO);

    JsonResult delWorker(UserWorkerDO workerDTO);

    JsonResult queryUserList();
}
